CRPEJob::GetMargins

Use CRPEJob::GetMargins to retrieve the page margin settings for the specified report. Use this method to determine the current margin settings for a report. Use CRPEJob::SetMargins, to change report margins.

Syntax
BOOL GetMargins (
        short *left,
        short *right,
        short *top,
        short *bottom );
Parameters

left

Specifies a pointer to the current setting of the left margin in twips.

right

Specifies a pointer to the current setting of the right margin in twips.

top

Specifies a pointer to the current setting of the top margin in twips.

bottom

Specifies a pointer to the current setting of the bottom margin in twips.

Returns
Remarks

PEP_SM_DEFAULT is used to indicate printer default margins.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com